package com.hospital.util;

import org.springframework.stereotype.Component;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataGridView {
	//数据表格的状态码
    private Integer code = 0;
    //数据表格的提示信息
    private String msg = "";
    //数据长度
    private Long count;
    //数据表格的数据
    private Object data;
    
    public DataGridView(Object data) {
        this.data = data;
    }
}
